package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户表 user
 * 
 * @author ruoyi
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID", cellType = ColumnType.NUMERIC)
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 密码 */
    private String password;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String inviteCode;

    /** 邀请人ID */
    @Excel(name = "邀请人ID", cellType = ColumnType.NUMERIC)
    private Long inviterId;

    /** 状态(0-禁用,1-启用) */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    private Integer status;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal balance;

    /** 账户累计余额 */
    @Excel(name = "账户累计余额")
    private BigDecimal totalBalance;

    /** 邀请人手机号 */
    @Excel(name = "邀请人手机号")
    private String inviterMobile;

    /** 邀请人昵称 */
    @Excel(name = "邀请人昵称")
    private String inviterNickName;

    /** 未审核余额 */
    @Excel(name = "未审核余额")
    private BigDecimal unverifiedBalance;

    /** 已审核余额 */
    @Excel(name = "已审核余额")
    private BigDecimal verifiedBalance;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public Long getInviterId() {
        return inviterId;
    }

    public void setInviterId(Long inviterId) {
        this.inviterId = inviterId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getTotalBalance() {
        return totalBalance;
    }

    public void setTotalBalance(BigDecimal totalBalance) {
        this.totalBalance = totalBalance;
    }

    public String getInviterMobile() {
        return inviterMobile;
    }

    public void setInviterMobile(String inviterMobile) {
        this.inviterMobile = inviterMobile;
    }

    public String getInviterNickName() {
        return inviterNickName;
    }

    public void setInviterNickName(String inviterNickName) {
        this.inviterNickName = inviterNickName;
    }

    public BigDecimal getUnverifiedBalance() {
        return unverifiedBalance;
    }

    public void setUnverifiedBalance(BigDecimal unverifiedBalance) {
        this.unverifiedBalance = unverifiedBalance;
    }

    public BigDecimal getVerifiedBalance() {
        return verifiedBalance;
    }

    public void setVerifiedBalance(BigDecimal verifiedBalance) {
        this.verifiedBalance = verifiedBalance;
    }
} 